//
//  HaveData.m
//  Air
//
//  Created by dongguozheng on 2016/11/4.
//  Copyright © 2016年 董国政. All rights reserved.
//

#import "HaveData.h"
static HaveData *data=nil;
@implementation HaveData
//声明单利

//单利传值
+(instancetype)shareData
{
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        data=[[HaveData alloc]init];
    });
    return data;
}
-(id)init
{
    self=[super init];
    if (self) {
        self.eqArray=[NSArray array];
        self.gwArr=[NSArray array];
        self.eqIndex=0;
        self.info=[NSString string];
        self.showjs=[NSString string];
        self.n_image=[NSString string];
        self.name=[NSString string];
        self.s_data=[NSString string];
        self.s_point=NO;
        self.cityName=[NSString string];
        self.boxAdress=[NSString string];
        self.goodsAddress=[NSString string];
    }
    return self;
}

@end
